package com.ruoyi.project.system.vehicles.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 车辆对象 ve_vehicles
 * 
 * @author ruoyi
 * @date 2024-01-08
 */
public class VeVehicles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    private Long vehicleID;

    /** 车辆名字 */
    @Excel(name = "车辆名字")
    private String vehicleName;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String vehicleType;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String vehicleColor;

    /** 车辆生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "车辆生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productionDate;

    public void setVehicleID(Long vehicleID)
    {
        this.vehicleID = vehicleID;
    }

    public Long getVehicleID()
    {
        return vehicleID;
    }
    public void setVehicleName(String vehicleName)
    {
        this.vehicleName = vehicleName;
    }

    public String getVehicleName()
    {
        return vehicleName;
    }
    public void setVehicleType(String vehicleType)
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType()
    {
        return vehicleType;
    }
    public void setVehicleColor(String vehicleColor)
    {
        this.vehicleColor = vehicleColor;
    }

    public String getVehicleColor()
    {
        return vehicleColor;
    }
    public void setProductionDate(Date productionDate)
    {
        this.productionDate = productionDate;
    }

    public Date getProductionDate()
    {
        return productionDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vehicleID", getVehicleID())
            .append("vehicleName", getVehicleName())
            .append("vehicleType", getVehicleType())
            .append("vehicleColor", getVehicleColor())
            .append("productionDate", getProductionDate())
            .toString();
    }
}
